
import React from 'react'
import './ArtInfo.css'
export default function ArtInfo(props) {
    return (
        <div className='container' style={{ backgroundImage: `url(${require(props.img + '')})` }}>
            <div className="title">{props.title}</div>
            <div className="secondL">
                <div className="time">{props.time}</div>
                <div className="watch">{props.watch}</div>
                <div className="comment">{props.comment}</div>
            </div>
            <div className="label">{props.label}</div>
            <div className="wordnum">{props.wordnum}</div>
            <div className="abstract">{props.abstract}</div>
        </div>

    )
}
